package com.example.drools.dto;

/**
 * 简化的定价请求DTO，用于前端表单提交
 */
public class SimplePricingRequest {
    private String productId;
    private String customerLevel;
    private String region;
    private double basePrice;
    private int quantity;
    private String season;

    // 构造函数
    public SimplePricingRequest() {}

    public SimplePricingRequest(String productId, String customerLevel, String region, 
                               double basePrice, int quantity, String season) {
        this.productId = productId;
        this.customerLevel = customerLevel;
        this.region = region;
        this.basePrice = basePrice;
        this.quantity = quantity;
        this.season = season;
    }

    // Getters and Setters
    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getCustomerLevel() {
        return customerLevel;
    }

    public void setCustomerLevel(String customerLevel) {
        this.customerLevel = customerLevel;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public double getBasePrice() {
        return basePrice;
    }

    public void setBasePrice(double basePrice) {
        this.basePrice = basePrice;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public String getSeason() {
        return season;
    }

    public void setSeason(String season) {
        this.season = season;
    }

    @Override
    public String toString() {
        return "SimplePricingRequest{" +
                "productId='" + productId + '\'' +
                ", customerLevel='" + customerLevel + '\'' +
                ", region='" + region + '\'' +
                ", basePrice=" + basePrice +
                ", quantity=" + quantity +
                ", season='" + season + '\'' +
                '}';
    }
}